use std::collections::HashSet;

pub fn new_count_distinct(input_str: &str) -> usize {

    let words = input_str.split(",");
    let mut set: HashSet<String> = HashSet::new();
    for word in words {
        set.insert(word.to_string());
    }
    set.len()
}
